package com.itfreer.power.service.organize;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;
import com.itfreer.power.entity.organize.AdministrativeEntity;

/**
 * 定义政区服务
 */
@Component
@Path("/administrative/")
public class RestAdministrativeService extends BaseRestService<AdministrativeEntity>{
	
	@Autowired
	private AdministrativeService administrativeManage;

	@Override
	protected BaseService<AdministrativeEntity> getService() {
		return administrativeManage;
	}
	
	@Override
	protected String getServiceName() {
		return "administrative";
	}
}